import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_fai_webview/flutter_fai_webview.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

import '../../AppConfig/Config.dart';
import '../../l10n/messages.dart';

class Insure extends StatefulWidget {
  const Insure({super.key});

  @override
  State<Insure> createState() => _InsureState();
}

class _InsureState extends State<Insure> {


  @override
  Widget build(BuildContext context) {
    var messages = AppLocalizations.of(context)!;
    final screenSize = MediaQuery.of(context).size;
    return Scaffold(
        backgroundColor: MyColors.backgreyColor,
        appBar: AppBar(
          backgroundColor: Colors.white,
          centerTitle: true,
          title: Text(messages['保险'],style: TextStyle(color: Colors.black,fontWeight: FontWeight.w300),),
        ),
        body:  Container(
          height: screenSize.height-140.h,
          child:  FaiWebViewWidget(
            // 你可以在这里配置 WebView 的属性和参数
            url: 'https://www.baidu.com', // 替换为你要加载的网页URL
            isLog: true,

          ),

        )




    );
  }


}